package com.xlh.pojo.course;

import java.io.Serializable;
import java.util.Date;

public class Chapter implements Serializable {
    /**
     * 课程、章节绑定关联关系id
     *
     * @mbg.generated
     */
    private Long id;

    /**
     * 课程id
     *
     * @mbg.generated
     */
    private Long courseId;

    /**
     * 章节id
     *
     * @mbg.generated
     */
    private Long chapterBasicId;

    /**
     * 序号
     *
     * @mbg.generated
     */
    private Integer orderNumber;

    /**
     * 章节显隐 0 显示 1 隐藏
     *
     * @mbg.generated
     */
    private Boolean falg;

    /**
     * 剪切板显隐 
     *
     * @mbg.generated
     */
    private Boolean clipboardFalg;

    /**
     * 父级id
     *
     * @mbg.generated
     */
    private Long parentId;

    /**
     * 是否删除 0：未删除 1：已删除
     *
     * @mbg.generated
     */
    private Boolean deleted;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 难度评分
     *
     * @mbg.generated
     */
    private String difficultyScore;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Long getChapterBasicId() {
        return chapterBasicId;
    }

    public void setChapterBasicId(Long chapterBasicId) {
        this.chapterBasicId = chapterBasicId;
    }

    public Integer getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Boolean getFalg() {
        return falg;
    }

    public void setFalg(Boolean falg) {
        this.falg = falg;
    }

    public Boolean getClipboardFalg() {
        return clipboardFalg;
    }

    public void setClipboardFalg(Boolean clipboardFalg) {
        this.clipboardFalg = clipboardFalg;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDifficultyScore() {
        return difficultyScore;
    }

    public void setDifficultyScore(String difficultyScore) {
        this.difficultyScore = difficultyScore;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", courseId=").append(courseId);
        sb.append(", chapterBasicId=").append(chapterBasicId);
        sb.append(", orderNumber=").append(orderNumber);
        sb.append(", falg=").append(falg);
        sb.append(", clipboardFalg=").append(clipboardFalg);
        sb.append(", parentId=").append(parentId);
        sb.append(", deleted=").append(deleted);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", difficultyScore=").append(difficultyScore);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}